<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">
<head>
<title>首页</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" media="all"
	th:href="@{/plugins/bootstrap/bootstrap.min.css}" />

<link rel="stylesheet"
	href="https://apps.bdimg.com/libs/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.css" />

<script src="https://apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
<script
	src="https://apps.bdimg.com/libs/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<script th:src="@{/plugins/bootstrap/bootstrap.min.js}"></script>
<script th:src="@{/plugins/jQuery/moment/moment.min.js}"></script>

<link rel="stylesheet" type="text/css" media="all" th:href="@{/plugins/font-awesome-4.7.0/css/font-awesome.min.css}" />
<link rel="stylesheet" th:href="@{/mobile/common.css}" />
<link rel="stylesheet" th:href="@{/mobile/reset.css}" />
<link rel="stylesheet" th:href="@{/mobile/listView.css}" />
<script th:src="@{/mobile/listView.js}"></script>
<style type="text/css">
/* tab css */
.tab .nav-tabs {
	border-bottom: 0 none;
	background: #ffffff;
}

.tab .nav-tabs li a {
	background: transparent;
	border-radius: 0;
	font-size: 16px;
	border: none;
	color: #909090;
	padding: 12px 22px;
	text-align: center;
}

.tab .nav-tabs li.active a, .tab .nav-tabs li.active a i {
	border: 0 none;
	color: #F44C31;
}

.tab .nav-tabs li.active {
	border-bottom: 1px solid #F44C31;
}

.tab .tab-content {
	font-size: 14px;
	line-height: 20px;
	margin-top: 2px;
}

.tab .nav-tabs>li {
	float: left;
	margin-bottom: -1px;
	width: 50%;
	height: 100%;
}
</style>

</head>
<body>
	<div data-role="page" id="pageone">
		<div data-role="header" data-position="fixed" data-tap-toggle="true">
			<span class="fa fa-angle-left goHome-dcms"></span>
			<h1>考核信息</h1>
		</div>
		<input type="hidden" id="identify" th:value="${bussinessId}" />
		<div data-role="main" style="background-color: #F5F5F5;">
			<div id="mailList">
				<div class="tab" role="tabpanel">
					<ul class="nav nav-tabs">
						<li class="active"><a href="#tab1" data-toggle="tab">待考核问题</a></li>
						<li><a href="#tab2" data-toggle="tab">考核历史</a></li>
					</ul>
					<div class="tab-content">
						<div class="tab-pane fade in active" id="tab1">
							<div data-role="fieldcontain">
								<input class="btn btn-info btn-xs" id="selectAll" type="button"
									value="全选" /> <input class="btn btn-danger btn-xs"
									id="cancelAll" type="button" value="取消" />
							</div>
							<ul data-role="listview" id="waitingchecklistul"
								data-inset="true" data-listView-theme="e" data-pic-show="true"
								data-class="hrefClick">
							</ul>
						</div>
						<div class="tab-pane fade" id="tab2">
							<ul data-role="listview" id="historychecklistul"
								data-inset="true" data-listView-theme="a" data-href="#sPanel" data-pic-show="true"
								data-class="aclick"></ul>
						</div>
					</div>
				</div>
			</div>
		</div>

		<div data-role="popup" id="alterpop" data-position-to="window"
			class="ui-content" data-theme="a" data-overlay-theme="a"
			data-dismissible="false">
			<div data-role="content">
				<p>
					<b>请选择巡检记录</b>
				</p>
				<a href="javascript:void(0)" id="close" data-rel="back"
					data-transition="slide" data-direction="reverse" data-role="button"
					data-theme="e" data-icon="back" data-inline="true"
					style="background-color: #55B937; border: 1px #55B937 solid; color: #FFFFFF;">确定</a>
				<a href='javascript:void(0)' data-rel="back"
					class="ui-btn ui-corner-all ui-shadow ui-btn-a ui-icon-delete ui-btn-icon-notext ui-btn-right">Close</a>
			</div>
		</div>
		<div data-role="panel" id="sPanelx" data-position="right"
			data-display="reveal"
			style='background: url(/wcsi/img/tousuimg.jpg) 50% 0 no-repeat; background-size: cover'>
		</div>

		<div data-role="footer" data-position="fixed" data-theme="a">
			<center>
				<input id="saveCheckBtn" type="submit" data-inline="false"
					value="填写核检报告"
					style="font-size: 20px;; background-color: #55B937; border: 1px #55B937 solid; color: #FFFFFF; width: 98%; padding-top: 5px; padding-bottom: 5px;" />
			</center>
		</div>
	</div>
	<div data-role="page" id="sPanel"
		style='background-color: #F5F5F5; background-size: cover'>
		<div data-role="header" data-position="fixed" data-tap-toggle="true"
			data-theme="a">
			<span><a href="#pageone" data-transition="slide" data-direction="reverse" class="pageBack" ><span class="fa fa-angle-left headleft"></span> </a></span>
			<h1>详情查看</h1>
			<!-- <a href="#pageone" data-transition="slide" data-direction="reverse"
				class="ui-btn ui-btn-a ui-icon-back ui-btn-icon-notext ui-corner-all ui-shadow ui-btn-left">返回面板</a> -->
		</div>
		<div data-role="popup" id="pop" data-position-to="#pageone"
			data-transition="fade">
			<a href="#" id="backloadingimg" data-rel="back"
				class="ui-btn ui-btn-a ui-icon-delete ui-btn-icon-notext ui-corner-all ui-shadow ui-btn-right">关闭</a>
			<!-- data-rel="back" -->
			<img src="" id="avatarbig" />
		</div>
		<div data-role="main" style="background-color: #F5F5F5;">
		<ul data-role="listview">
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>核查时间</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="checkDate"></div>
						</div>
					</div>
				</li>
				
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>核查人</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="user"></div>
						</div>
					</div>
				</li>
				
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>存在问题</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="checkCondition"></div>
						</div>
					</div>
				</li>
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>整改情况描述</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="rectifyCondition"></div>
						</div>
					</div>
				</li>
				
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>备注</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="remark"></div>
						</div>
					</div>
				</li>
		</ul>
		<img src="" id="avatartD" style="width: 100%;margin-top: 20px;" />
		<ul data-role="listview" id="xxjsList" data-inset="true" data-listView-theme="b" data-pic-show="true" data-class="xmxqClick1">
				<li data-role="list-divider" class="list-divider-ui">详细介绍</li>
			</ul>
			
			<ul data-role="listview" id="xjlsList" data-inset="true" data-listView-theme="b" data-pic-show="true" data-class="xmxqClick2">
				<li data-role="list-divider" class="list-divider-ui">巡检历史</li>
			</ul>
		</div>
	<!-- 	<div data-role="content">
			<table data-role="table" width="100%" data-mode="columntoggle:none"
				data-column-btn-theme="e" data-column-popup-theme="c" id="myTable">
				
				<tbody>
					<tr>
						<td><label style="color: #999999;">核查时间</label></td>
					</tr>
					<tr>
						<td>
							<div id="checkDate"></div> <label
							style="color: #999999; margin-top: 20px;">核查人</label>
						</td>
					</tr>
					<tr>
						<td>
							<div id="user"></div> <label
							style="color: #999999; margin-top: 20px;">存在问题</label>
						</td>
					</tr>
					<tr>
						<td>
							<div id="checkCondition"></div> <label
							style="color: #999999; margin-top: 20px;">整改情况描述</label>
						</td>
					</tr>
					<tr>
						<td>
							<div id="rectifyCondition"></div> <label
							style="color: #999999; margin-top: 20px;">备注</label>
						</td>
					</tr>
					<tr>
						<td>
							<div id="remark"></div> <label
							style="color: #999999; margin-top: 20px;">现场照片</label>
						</td>
					</tr>
					<tr>
						<td style="color: #999999; border-bottom: none !important;"><img
							src="" id="avatartD" style="width: 100%" /></td>
					</tr>
				</tbody>
			</table>
			<div data-role="collapsible" data-collapsed="false"
				data-collapsed-icon="carat-d" data-expanded-icon="carat-u"
				data-inset="false">
				<h3>详细介绍</h3>
				<table data-role="table" width="100%" data-mode="columntoggle:none"
					data-column-btn-theme="e" data-column-popup-theme="c"
					id="myDetailTable">
					class="ui-body-c ui-responsive ui-shadow"
					<thead class="pearlHeading">
						<tr>
							<th width="40%"></th>
							<th width="60%"></th>
						</tr>
					</thead>
					<tbody>
					</tbody>
				</table>
			</div>
			<div data-role="collapsible" data-collapsed-icon="carat-d"
				data-expanded-icon="carat-u" data-inset="false">
				<h3>巡检历史</h3>
				<table data-role="table" width="100%" data-mode="columntoggle:none"
					data-column-btn-theme="e" data-column-popup-theme="c"
					id="myhistoryTable">
					class="ui-body-c ui-responsive ui-shadow"
					<thead class="pearlHeading">
						<tr>
							<th width="40%"></th>
							<th width="60%"></th>
						</tr>
					</thead>
					<tbody>
					</tbody>
				</table>
			</div>
		</div> -->
		<div data-role="footer" data-position="fixed" data-theme="a">
			<h1>
				版权所有@ 违者必究
				<!-- <input id="saveCheckBtn" class="btn btn-primary btn-sm"
					type="button" data-inline="false" value="填写考核报告" /> -->
			</h1>
		</div>
	</div>
	
		<div data-role="page" id="detailInspectPanel" tyle='background-color: #F5F5F5; background-size: cover'>
		<div data-role="header" data-position="fixed" data-tap-toggle="true" data-theme="a">
			<span><a href="#pageone" data-transition="slide" data-direction="reverse" class="pageBack" ><span class="fa fa-angle-left headleft"></span> </a></span>
			<h1>详情查看</h1>
		</div>
		<div data-role="main" style="background-color: #F5F5F5;">
			<ul data-role="listview">
			<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>商户名称</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="bussinessName"></div>
						</div>
					</div>
				</li>
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>商户地址</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="bussiessAddr"></div>
						</div>
					</div>
				</li>	
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>商户管理员</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="bussinessMng"></div>
						</div>
					</div>
				</li>
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>巡检内容</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="remarkI"></div>
						</div>
					</div>
				</li>
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>巡检情况</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="inspectCondition"></div>
						</div>
					</div>
				</li>
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>巡检时间</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="inspectDate"></div>
						</div>
					</div>
				</li>
				<li>
					<div class="row">
						<div class="col-xs-6 settingsTitle"><span>巡检人</span></div>
						<div class="col-xs-6 ">
							<div class="settingsValue" id="inspectPerson"></div>
						</div>
					</div>
				</li>
			</ul>
			<img src="" id="avatartI" style="width: 100%;margin-top: 20px;" />
			 <ul data-role="listview" id="xmxqList" data-inset="true" data-listView-theme="d" data-pic-show="true" data-class="xmxqClick">
				<li data-role="list-divider" class="list-divider-ui">问题清单</li>
			</ul> 
			<!-- <div data-role="collapsible" data-collapsed="false"
				data-collapsed-icon="carat-d" data-expanded-icon="carat-u"
				data-inset="false">
				<h3>问题清单</h3>
				<table data-role="table" width="100%" data-mode="columntoggle:none"
					data-column-btn-theme="e" data-column-popup-theme="c" id="xmxqList">
					<tbody>
					</tbody>
				</table>
			</div> -->
		</div>
		<div data-role="footer" data-position="fixed" data-theme="a">
			<h1>版权所有@ 违者必究</h1>
		</div>
	</div>
	<script th:src="@{/mobile/common.js}"></script>
	<script th:src="@{/mobile/bussinessCheck/indexOnPhone.js}"></script>
	<script th:inline="javascript">
		window.rootPath= /*[[${#httpServletRequest.getContextPath()}]]*/
	</script>
</body>
</html>